#!/usr/bin/env python
#coding=utf-8

import sys,os

# 判断工程框架路径是否已经设定
# fs_path = os.getenv('FS_PATH')
# print('FS_PATH={}'.format(fs_path))
# if fs_path == None :
#     print('\033[1;31mEnvironment variables "FS_PATH" is not set, Please set the environment variable "FS_PATH" first\033[3;31m')
#     sys.exit()

# 判断工程框架脚本是否存在
# 进一步判断设置的工程框架路径是否正确
# project_file_path = os.getenv('FS_PATH') + "/tools/sky_project.py"
# if os.path.exists(project_file_path) == False :
#     print('\033[1;31m{} does not exist,Please check  "FS_PATH"\033[3;31m'.format(project_file_path))
#     sys.exit()

# print('project_file_path={}'.format(project_file_path))

project_name="Demo"
# 调用工程框架脚本
with open(os.getenv('FS_PATH') + "/tools/sky_project.py") as k:
    exec(k.read())